package com.xulinhao.dao;

import com.xulinhao.pojo.Order;

import java.util.List;

/**
 * @author xulinhao
 * @create 2021-06-02 15:34
 */
public interface OrderDao {
    public int saveOrder(Order order);//保存订单

    public List<Order> queryOrders();//查询全部订单

    public int changeOrderStatus(String orderId, Integer status);//修改订单状态

    public List<Order> queryOrderByUserId(Integer userId);//根据用户编号查询订单信息


}
